package com.bjsxt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ALIENWARE
 * @version v1.0.0
 * @package : com.bjsxt.dto
 * @description :
 * 用户实名认证的参数接收实体类
 * @create on : 12/21/2023
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "com-bjsxt-dto-IdentifyDto/用户实名认证的参数接收实体类")
public class IdentifyDto extends GeetestDto {
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    @NotBlank
    private String realName;
    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码")
    @NotBlank
    private String idCard;
    /**
     * 身份证类型
     */
    @ApiModelProperty(value = "身份证类型")
    @NotNull
    private Byte idCardType;
}
